import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPlayerRuneInfo
    
    export  class SPlayerRuneInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SPlayerRuneInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.normalExtraNum);
            arg1.writeInt(this.skillExtraNum);
            arg1.writeInt(this.runeGuide);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.normalExtraNum = arg1.readInt();
            this.skillExtraNum = arg1.readInt();
            this.runeGuide = arg1.readInt();
            return;
        }

        public /* const */_type: int=12356;

        public /* var */normalExtraNum: int;

        public /* var */skillExtraNum: int;

        public /* var */runeGuide: int;

        public static /* var */_regist: SPlayerRuneInfo;
    }

            SPlayerRuneInfo._regist = new SPlayerRuneInfo(true);
        